package com.opal.system.mapper.mysql;

import com.opal.system.entity.table.OpalRole;
import com.opal.system.entity.table.OpalRoleExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OpalRoleMapper {
    int countByExample(OpalRoleExample example);

    int deleteByExample(OpalRoleExample example);

    int deleteByPrimaryKey(Long roleId);

    int insert(OpalRole record);

    int insertSelective(OpalRole record);

    List<OpalRole> selectByExample(OpalRoleExample example);

    OpalRole selectByPrimaryKey(Long roleId);

    int updateByExampleSelective(@Param("record") OpalRole record, @Param("example") OpalRoleExample example);

    int updateByExample(@Param("record") OpalRole record, @Param("example") OpalRoleExample example);

    int updateByPrimaryKeySelective(OpalRole record);

    int updateByPrimaryKey(OpalRole record);
}